

#ifndef DEVINSIGHT
#define DEVINSIGHT


#include "c.h"
#include "datatypes.h"
#include "postgres_ext.h"
#include "lib/stringinfo.h"
#include "nodes/relation.h"
#include "utils/rel.h"
#include "libpq/libpq-fe.h"

#include "nodes/execnodes.h"
#include "utils/relcache.h"

#include "access/tupdesc.h"
#include "storage/buf/bufpage.h"

#include "fmgr.h"


/* utils */
const char* bx8b(void* ptr, char* buffer=NULL);
const char* bx16b(void* ptr, char* buffer=NULL);
const char* bx32b(void* ptr, char* buffer=NULL);
const char* bx64b(void* ptr, char* buffer=NULL);


/* astore */
const char* dviHeapTuple(HeapTuple tup, TupleDesc desc);
const char* dviPage(Page page, TupleDesc desc=NULL);



/* ustore */
const char* dviUHeapTuple(UHeapTuple tup, TupleDesc desc);
const char* dviUPage(Page page, TupleDesc desc=NULL);

#endif
